#ifndef LOCALFOLDERDIALOG_H
#define LOCALFOLDERDIALOG_H

#include <QDialog>

namespace Ui {
class LocalFolderDialog;
}

class LocalFolderDialog : public QDialog
{
    Q_OBJECT

public:
    explicit LocalFolderDialog(QWidget *parent = nullptr);
    ~LocalFolderDialog();
    void initPaths(const QStringList& paths);
    QStringList getPaths() const;

private:
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
    int dx = 0, dy = 0;

private slots:
    void on_pushButton_close_clicked();
    void on_pushButton_accept_clicked();
    void on_pushButton_selectFolder_clicked();

private:
    QStringList _paths;

private:
    Ui::LocalFolderDialog *ui;
};

#endif // LOCALFOLDERDIALOG_H
